package com.hl.ruoyilkshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格值对象 specs
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class Specs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格值ID */
    private Integer id;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specsValue;

    /** 规格ID */
    @Excel(name = "规格ID")
    private Integer goodsSpecsId;

    /** 商家id */
    @Excel(name = "商家id")
    private Integer businessId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setSpecsValue(String specsValue) 
    {
        this.specsValue = specsValue;
    }

    public String getSpecsValue() 
    {
        return specsValue;
    }

    public void setGoodsSpecsId(Integer goodsSpecsId) 
    {
        this.goodsSpecsId = goodsSpecsId;
    }

    public Integer getGoodsSpecsId() 
    {
        return goodsSpecsId;
    }

    public void setBusinessId(Integer businessId) 
    {
        this.businessId = businessId;
    }

    public Integer getBusinessId() 
    {
        return businessId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specsValue", getSpecsValue())
            .append("goodsSpecsId", getGoodsSpecsId())
            .append("businessId", getBusinessId())
            .toString();
    }
}
